package com.ahzx.report.mapper;

import com.ahzx.report.request.ReportQuery;

import java.math.BigDecimal;

/**
 * 信易贷工作情况报表数据层
 * @Author syg
 * @Date 2021/4/29 14:22
 * @Desc To be or not to be,that is a question.
 */
public interface CreditLoanReportMapper {

    /**
     * 注册主体数
     * @param reportQuery
     * @return
     */
     Integer selectCountCompanyRegisterNumber(ReportQuery reportQuery);

    /**
     * 入驻金融机构数量
     * @param reportQuery
     * @return
     */
     Integer selectCountFinanceOrgNumber(ReportQuery reportQuery);

    /**
     * 信易贷产品数量
     * @param reportQuery
     * @return
     */
     Integer selectCountFinanceProductNumber(ReportQuery reportQuery);

    /**
     * 融资需求主体数
     * @param reportQuery
     * @return
     */
     Integer selectCountDemandCompanyNumber(ReportQuery reportQuery);

    /**
     * 融资需求金额
     * @param reportQuery
     * @return
     */
     BigDecimal selectCountDemandAmt(ReportQuery reportQuery);

    /**
     * 融资需求笔数
     * @param reportQuery
     * @return
     */
     Integer selectCountDemandNumber(ReportQuery reportQuery);

    /**
     * 授信主体数
     * @param reportQuery
     * @return
     */
     Integer selectCountCreditCompanyNumber(ReportQuery reportQuery);

    /**
     * 授信金额
     * @param reportQuery
     * @return
     */
     BigDecimal selectCountCreditAmt(ReportQuery reportQuery);

    /**
     * 授信笔数
     * @param reportQuery
     * @return
     */
     Integer selectCountCreditNumber(ReportQuery reportQuery);

    /**
     * 贷款发放主体数
     * @param reportQuery
     * @return
     */
     Integer selectCountLoanCompanyNumber(ReportQuery reportQuery);

    /**
     * 贷款发放金额
     * @param reportQuery
     * @return
     */
     BigDecimal selectCountLoanAmt(ReportQuery reportQuery);

    /**
     * 贷款发放笔数
     * @param reportQuery
     * @return
     */
     Integer selectCountLoanNumber(ReportQuery reportQuery);
}
